home *** CD-ROM | disk | FTP | other *** search
-
-
- <!-- TWO STEPS TO INSTALL DOG YEARS CALCULATOR:
-
- 1. Paste the designated coding into the HEAD of your HTML document
- 2. Put the last script into the BODY of your HTML document -->
-
- <!-- STEP ONE: Copy this code into the HEAD of your HTML document -->
-
- <HEAD>
-
- <SCRIPT LANGUAGE="JavaScript">
-
- <!-- This script and many more are available online from -->
- <!-- The JavaScript Source!! http://javascriptsource.com -->
-
- <!-- Begin
- function fido (form) {
- form.dogyears.value = form.humanyears.value/7;
- }
- // End -->
- </SCRIPT>
-
- <!-- STEP TWO: Copy this code into the BODY of your HTML document -->
-
- <BODY>
-
- <CENTER>
- <FORM>
- Enter your age:
- <INPUT TYPE ="text" NAME="humanyears" SIZE=15 >
- <BR><P>
- <INPUT TYPE ="button" VALUE="Calculate" ONCLICK="fido(this.form)">
- <BR><P>
- Your age in Dog Years is:
- <INPUT TYPE="text" NAME="dogyears" SIZE=15 >
- <BR>
- </FORM>
- </CENTER>
-
- <!-- Script Size: 0.94 KB -->
-